<template>
  <div>

    <div v-html="note.content"> 333</div>

  </div>
</template>

<script>
import {Base64} from 'js-base64'

export default {
  name: 'NoteDetail',
  props: ['item'],
  data() {

    return {
      note: null
    }
  },
  created() {
    this.item.then((res) => {
      this.item.content = this.item.content ? Base64.decode(this.form.content) : null
      console.log("res", res)
      this.note = res
    })

  }
}
</script>

<style scoped>

</style>
